<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
    <link rel="stylesheet" type="text/css" href="style1.css">
    <style>
        .error {
            color: red;
        }
    </style>
</head>

<body>
<h1>登录页面</h1>
<form method="post" action="/loginOut">
    <label for="userId">用户ID：</label>
    <input type="text" id="userId" name="id" placeholder="请输入用户ID" required><br>
    <span id="userIdError" class="error"></span><br>

    <label for="password">密码：</label>
    <input type="password" id="password" name="password" placeholder="请输入密码" required><br>
    <span id="passwordError" class="error"></span><br>

    <input type="submit" value="登录">
</form>
<script src="script1.js"></script>
</body>

</html>
